<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			//1、创建被匹配的信息内容
			var str = "today is Monday";
			//2、创建一个正则模式： /正则表达式内容/
			var reg = /Mon/;
			//3、正则匹配
			var result = str.match(reg);
			console.log(result);
		</script>
	</head>
	<body>
	</body>
</html>
